package cn.itcalvin.sncoal.cth.pojo.common;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotBlank;

@Data
public class ReqLogin {
    @NotBlank(message = "用户名不能为空")
    @ApiModelProperty(value = "用户名")
    private String userName;

    @NotBlank(message = "用户密码不能为空")
    @ApiModelProperty(value = "用户密码-base64")
    private String password;
}
